//
//  WBEmoticonModel.swift
//  微博(swift)
//
//  Created by 汤米 on 16/4/25.
//  Copyright © 2016年 汤米. All rights reserved.
//

import UIKit

class WBEmoticonModel: NSObject {

    var chs: String?
    var png: String?
    var type: String? {
        
        didSet {
            
            if type == "0" {
                
                isEmoji = false
            }else {
                isEmoji = true
            }
            
        }
    }
    var code: String?
    // MARK: -  是否是emoji表情
    var isEmoji: Bool = false
    // MARK: -  图片路径
    var path: String?
    
    // MARK: -  字典转模型
    init(dict: [String: AnyObject]) {
        
        super.init()
        setValuesForKeysWithDictionary(dict)
    }
    
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
    
  
}
